package com.xnx3.banmahuishou.core.generateCache;

import org.springframework.stereotype.Component;
import com.xnx3.j2ee.generateCache.BaseGenerate;

/**
 * 代收点相关数据缓存生成
 * @author 王晓龙
 */
@Component
public class Daishoudian extends BaseGenerate {
	public Daishoudian() {
		state();
	};
	
	public void state() {
		createCacheObject("state");
		cacheAdd(com.xnx3.banmahuishou.core.entity.Daishoudian.STATE_REVIEW,"审核中");
		cacheAdd(com.xnx3.banmahuishou.core.entity.Daishoudian.STATE_APPROVED,"已同意");
		cacheAdd(com.xnx3.banmahuishou.core.entity.Daishoudian.STATE_REJECTED,"已拒绝");
		cacheAdd(com.xnx3.banmahuishou.core.entity.Daishoudian.STATE_FROZEN,"已冻结");
		generateCacheFile();
	}
}
